package com.weiz.designpatterns.command;

/**
 * 接收命令的接收者类
 */
class Light {
    public void turnOn() {
        System.out.println("灯打开了");
    }

    public void turnOff() {
        System.out.println("灯关闭了");
    }
}